/**
 * 配置中心
 * @module config
 * @param {baseURL} 基地址
 * @param {testToken} 测试token
 */

/**
 * true 测试  fasle 正式
 */
const dev = process.env.NODE_ENV == "production" ? false : true;
// const dev = true;

const config = {
    env: dev,
    heartBeatURL: "http://47.98.216.101",
    baseURL: dev ? "https://testermapi.xlgxapp.com" : "https://ermapi.xlgxapp.com",
    wechatURL: dev ? "https://test6-h5.xlgxapp.com/wechat2" : "https://h5n.xlgxapp.com/wechat2",
    testToken: "eyJhbGciOiJIUzI1NiJ9.eyJyZWd0aW1lIjoiMjAxOC0xMC0zMCAxMDoyNTo0OSIsImFtb3VudCI6MCwicmVncGhvbmUiOiIxMzA1Njk5MTg3MCIsIm51bSI6MCwiaXNuZXciOjAsImxhc3Rsb2dpbnRpbWUiOiIxNTc0NDk2OTI2MzcwIiwicmVndHlwZSI6IlNFTEYiLCJjcmVhdGVkQXQiOjE1NDA4NjYzNDkwMDAsImFwcEFtb3VudCI6MCwiYXJlYWlkIjoiMzE1MDAxIiwicmVqb2luIjpmYWxzZSwidCI6MTU3NDQ5NjkyNjQwOSwiaW52aXRlcmlkIjo1NTU1LCJwaG9uZSI6IjEzMDU2OTkxODcwIiwiaWRlbnRpdHkiOiIzMzAyMDQxOTkyMTEyMTEwM1giLCJpbnRlZ3JhbCI6MzU1LCJmaWxsbmFtZSI6IuW8oOWBpSIsInVzZW1vbmV5Ijo1NTQuNDEsImlkIjoxMjcxLCJsYXN0cmlkaW5ndGltZSI6IjE1NzQwNjAxMjU5MjciLCJyaWRpbmdudW0iOjU1NiwibWlsZWFnZSI6Nzc0OTguMCwidXBkYXRlZEF0IjoxNTc0NDkyMjY3MDAwfQ.BhZHex5pB9W7DSj4ZkNQRMc7DURrJ3YeDMzD7g0Hrw0"
}

export default config;

